<style lang="scss" scoped>
.tip {
  padding: 0.2rem;
  background-color: #f0f0f0;
  font-size: 0.34rem;
  color: #8e8f8f;
}

.block {
  padding: 1.8rem 0.4rem;
  text-align: center;

  p {
    padding: 0.2rem;
    font-size: 0.28rem;
  }
}

.completed {
  padding: 0 0 0.2rem 0;
  text-align: center;
}
</style>

<template>
  <div ref="container" class="container hasNav hasTabbar">
    <van-nav-bar title="疾病知识" fixed />
    <van-divider dashed>科室分类疾病</van-divider>
    <van-grid :column-num="1" :gutter="10">
      <van-grid-item to="/disease/department/index">
        <van-image src="https://hongtech.xyz/system-file/5.jpeg" :height="180"/>
      </van-grid-item>      
    </van-grid>
    <van-divider dashed>身体分类疾病</van-divider>
    <van-grid :column-num="1" :gutter="10">  
      <van-grid-item to="/disease/body/index">        
        <van-image src="https://hongtech.xyz/system-file/4.jpeg" :height="180"/>
      </van-grid-item>
    </van-grid>
    <Tabbar></Tabbar>
  </div>
</template>

<script>
import { mapGetters, mapMutations } from 'vuex';
import mixin from '@/mixin/index';
import Tabbar from '@/components/Tabbar';

export default {
  name: 'disease',
  components: {
    Tabbar
  },
  mixins: [mixin],
  data() {
    return {

    };
  },
  computed: {
    ...mapGetters(['userInfo'])
  },

  methods: {
    ...mapMutations(['setBanners']),
  }
};
</script>